package io.renren.modules.oss.cos.service;

import io.renren.common.utils.Result;
import io.renren.modules.security.user.UserDetail;
import org.springframework.web.multipart.MultipartFile;
import io.renren.modules.oss.cos.dto.FileUploadReq;

/**
 * @author yun lang
 * @version 1.0
 * @description: oss操作
 * @date 2024/11/6 09:28
 */
public interface OssOperateService {
    Result uploadFile(FileUploadReq fileUploadReq, UserDetail user);

    boolean isVideoByExtension(MultipartFile file);
}
